package com.usian.feign;

import com.usian.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "sentinel-provider")
public interface SentinelFeign {

    @RequestMapping("/user/findUserById")
    public User findUserById(@RequestParam  Integer id);

}
